<?php

namespace IDock\Insurance\DBIC\Response;

use IDock\Http\Response;

class RSAPublicKeyResponse extends AllDBICResponse
{
    protected $module16 = '';

    protected $exponent16 = '';

    public function printerInit(): Response
    {
        $this->module16 = $this->getRecords(0)['module16'] ?? '';
        $this->exponent16 = $this->getRecords(0)['empoent16'] ?? '';

        return $this;
    }

    public function getModule16(): string
    {
        return $this->module16;
    }

    public function getExponent16(): string
    {
        return $this->exponent16;
    }
}